var loginValidator;
var editor;

var modelObject = {
	init:function(){
		//--表单验证 start--
		loginValidator = $("#configIndexTitleForm").validate
		({
			rules: {
				configValue: "required"
			},
			messages:{
				configValue:"请填写标题"
			},
			submitHandler:function(form){
				form.submit();
			}
		});
		//-- 表单验证 end --
		
		
	}
};

$(document).ready(function(){
	modelObject.init();
	
	$("#reset").click(function(){
		$("#configValue").val("");
	});
});